-- GENERATED SPELL FOR [Maraudine Wrangler] --


function spell0_4655(pUnit, Event) --@Disarm,n/a--
pUnit:FullCastSpellOnTarget(8379,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4655', 10297, 1)
end

function spell1_4655(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(6533,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4655', 2350, 1)
end

function Sorts_4655(pUnit, Event)
local choix_sorts_4655 = math.random(0, 1)
if choix_sorts_4655 == 0 then
pUnit:RegisterEvent('spell0_4655', 1, 1)
end
if choix_sorts_4655 == 1 then
pUnit:RegisterEvent('spell1_4655', 1, 1)
end
end

function mob4655_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4655', math.random(1500, 3000), 1)
end

function mob4655_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4655_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4655_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4655, 1, 'mob4655_Action')
RegisterUnitEvent(4655, 2, 'mob4655_Leave')
RegisterUnitEvent(4655, 3, 'mob4655_Kill')
RegisterUnitEvent(4655, 4, 'mob4655_Die')
